package router

import (
	"fx_swift_ifcgate_agent/internal/controller"
	"fx_swift_ifcgate_agent/pkg/middleware"
)

func AgentRouter() {
	userApiVer := miniApiVer.Group("agent", middleware.CheckAuth())
	{
		userApiVer.GET("queryAgentApply", controller.QueryAgentApply)

		userApiVer.POST("uploadEnterpriseInfo", controller.UploadEnterpriseInfo)
		userApiVer.GET("merOpenTrend", controller.MerOpenTrend)
		userApiVer.POST("merOpenTrendDynamic", controller.MerOpenTrendDynamic)
		userApiVer.GET("getMerStatusBoss", controller.GetMerStatusBoss)
		userApiVer.POST("getAllMerChantAuditList", controller.GetAllMerChantAuditList)
		userApiVer.POST("getAllMerChantSuccList", controller.GetAllMerChantSuccList)
		userApiVer.GET("getMerChantBoss", controller.GetMerChantBoss)
		userApiVer.GET("getAuditNums", controller.GetAuditNums)
	}
}
